package io.renren.modules.mvs.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
public class TicketDto implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 罚单id
     */
    private String id;
    /**
     * 用户id
     */
    private Long userId;
    /**
     * 违章id
     */
    private Long violationId;
    /**
     * 违章天数
     */
    private Integer violationDay;
    /**
     * 罚金
     */
    private BigDecimal fineAmount;
    /**
     * 滞纳金
     */
    private BigDecimal overdueFee;
    /**
     * 待缴罚金
     */
    private BigDecimal waitFine;
    /**
     * 待缴滞纳金
     */
    private BigDecimal waitOverdueFee;
    /**
     * 罚单状态
     */
    private String ticketStatus;
    /**
     * 创建时间
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    /**
     * 用户名
     */
    private String username;
    /**
     * 罚单状态名
     */
    private String ticketStatusName;

    /**
     * 违章时间
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date violationTime;
    /**
     * 缴费截止日期
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date violationDeadline;

    /**
     * 违章缴费详情列表
     */
    private List<PaymentDetailDto> paymentDetailList;
}

